<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>

    <script>
        var arr =  ['双子座','双鱼座','天蝎座','天平座','巨蟹座','处女座']
        //扩展运算符复制数组
        var arr1 = [...arr]
        console.log(arr1);
        console.log(...arr);

        console.log(arr == arr1);
        //false 地址不一样


    </script>
    
</body>
</html>